﻿@model XPressify.Models.CommentPostModel
@using XPressify.Models;

<div id="@Model.Post.Id" class="newPostName" style="display:none">
   <table border="0" cellpadding="0" cellspacing="0" style="margin:0px;padding:0px;width:553px">
        <tr>
            <th style="padding: 0px 2px 0px 2px;"> 
                @Html.Raw(Model.Post.Content)
            </th>
            <td style="padding: 0px 2px 0px 2px;vertical-align:top;background-color: #E8EEF4;text-align:right">
                @Html.Partial("BtnPostDelete", new BtnPostDeleteModel { PostId = Model.Post.Id })
            </td>
        </tr>
    </table>
   
    @{var specialUpdateId = Model.Post.Id + "Update";}
    <div id="@specialUpdateId"></div>
    
    
    @Html.Partial("WriteComment", new PostCommentModel { PostId = Model.Post.Id, ContentText = "Write a comment...", ProfilePicturePath = Model.ViewerProfilePicturePath })
    
    
    ______________________________________________________________________________
    </div>